import request from '@/utils/request'

// 用户登录
export function login(data) :any {
  return request({
    url: '/login/loginIn',
    method: 'post',
    data,
    loading: false
  })
}

// 用户信息
export function getUserInfo() :any {
  return request({
    url: '/login/getUserInfo',
    method: 'post',
    loading: false
  })
}